libxl: Introduce libxl_domain_create_new() and libxl_domain_create_restore()
authorGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:29:43 +0000 (18:29 +0000)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:29:43 +0000 (18:29 +0000)
commit760b359388cf4bc948ff6cbf96ab5f629ac45fe5
treedd94f75650657c37a6a521560505eda6588576b4
parent64bc47d9a1055404b8c91467d6484ad3434bdde0
libxl: Introduce libxl_domain_create_new() and libxl_domain_create_restore()

These functions are introduced as the new way to create domains with libxl
they prevent the callers from need to know about low-level implementation
details such as:
 - libxl_domain_make()
 - libxl_domain_build()
 - libxl_domain_restore()
 - when to attach the console
 - how to start the device model

Above mentioned functions and all API's for the device model, which are now
redundant, have been made internal to libxl and no longer accessible.

The ocaml binding for libxl has not been properly updated to reflect the
changes, wrappers for the old functions have been removed but the code to wrap
the new functions has not been added.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_create.c [new file with mode: 0644]
tools/libxl/libxl_dm.c
tools/libxl/libxl_exec.c
tools/libxl/libxl_internal.h
tools/libxl/xl_cmdimpl.c
tools/ocaml/libs/xl/xl_stubs.c